﻿@{
    Layout = null;

    List<NewsMine.DomainObjects.WebSiteInfo> websitesTemp = new List<NewsMine.DomainObjects.WebSiteInfo>();

    websitesTemp = ((QResult)Model).Websites;

    var languages = WebApp1.Models.LanguageModel.GetAllLanguages();

    string selectedLanguage = ((QResult)Model).CurrentLanguage;

                    //layout : 179 + 544 + 244
}

                <ul class="nav nav-tabs" style="margin-bottom:0px;">
                
                @{
                    
                    foreach (var lang in languages)
                    {
                      if (lang.Name.ToLower() == selectedLanguage.ToLower())
                      {
                          <li class="active"><a href="/language/@lang.Name.ToLower()"><b> @lang.LocalName.ToUpperInvariant()</b></a></li>
                      }
                      else
                      {
                            <li><a href="/language/@lang.Name.ToLower()">@lang.LocalName.ToUpperInvariant()</a></li>
                      }
                      
                    }
                    
                   
                    
    }


                 </ul>
            
   



